package com.reiuy.service;


import com.reiuy.entity.Cart;
import com.reiuy.vo.Cartinfo;
import com.reiuy.entity.Good;
import com.reiuy.entity.User;

import java.util.List;

public interface CartService {
    int addcart(User user, Good good,Integer quantity);
    //添加商品到购物车

    List<Cartinfo> foundusercart(User user);
    //查找某个用户的购物车内容

    int deletecart(Cart cart);
    //移除购物车中的商品
}